<?php

class Email extends AppModel
{

	public $name = 'Email';

	public $displayField = 'created';

	public $validate = array(
	);

	public $hasMany = array(
	);

	function allowDelete($fields = null)
	{
        return true;
	}

	function allowUpdate($fields = null)
	{
        return false;
	}

	function generateList($conds = array())
	{
	    $this->rel();
        return parent::generateList($conds, "`{$this->name}`.`retries`", null, "{n}.{$this->name}.{$this->primaryKey}", "{n}.{$this->name}.{$this->displayField}");
	}
}

?>